
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>

</head>
<body>
<script>
<!--
function CheckAll(form) {
for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')       e.checked = form.chkall.checked; 
   }
}
-->
</script>

<div class="cssout">
  <div class="MenuboxS">
    <ul>
      <li class="hover" ><a href="?otype=Main">公海客户列表<span class="tabnum">0</span></a></li>
      <li  ><a href="?otype=chongfu">导入的重复数据<span class="tabnum">0</span></a></li>
      <li  ><a href="?otype=TimeType&TimeType=dsh">待审核申请<span class="tabnum">0</span></a></li>
      
      
     <!-- <li class="daochubtn"><a href="#" onclick='Kehu_Ziyuanadd("daoru.asp?drtype=share&wz=page&LaiLu=")'><i class="fa fa-sign-in"></i> 导入资源</a></li>
      <script>function Kehu_Ziyuanadd(Dourl) {$.dialog.open(Dourl, {title: '导入资源', width: 880, height: 450,fixed: true}); };</script>-->
      
      <li class="btn_new" >
        <dd class="isin"><a href="#" onclick='Kehu_Infoadd("listkehu_add.html?action=Kehu&stype=add&lx=zyk&cyn=0&LaiLu=")'>新增资源</a> 
      </li>
      
    </ul>
    <span class="maxnumtip" title="已录入客户数量：8">客户数量限制：<span style="color:#F00">8</span> /
    
    <span class="col_red">无限制</span>
    
    </span>
    <div class="clear"></div>
  </div>
</div>

<!----------------------------------------客户高级搜索开始---------------------------------------->
<!----------------------------------------客户高级搜索开始---------------------------------------->
<div class="cssout topNavsou">
 <div class="cssin">
<form class="layui-form" name="searchForm" action="?saction=ssdetail&LaiLu=" method="post">
  快速搜索：
  <input name="S7_MHsou" id="S7_MHsou" type="text" class="bor int mhsouint" size="40" value='' placeholder="客户名称、联系人、手机号">
  <input type="submit" name="Submit" class="btn1 btnsou" value="立即搜索">
</form>
<div class="clear"></div>
</div>
</div>
<div class="bgDiv"></div>
<div class="cssout rightNav"> 
  <form class="layui-form" name="searchForm" action="?saction=ssdetail&LaiLu=" method="post">
    <div class="cssin" id="ss">
      <ul>
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 客户名称</dd></li>
        <li class="w23"><dd class="isin">
          <input name="Company" type="text" class="bor int" id="Company" size="30" onKeyUp="searchSuggest();" value=''>
          <span id="ss_suggest" style="display:none;"></span></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 联系人</dd></li>
        <li class="w23"><dd class="isin">
          <input name="Linkman" type="text" class="bor int" id="Linkman" size="30" value=''></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 手机号码</dd></li>
        <li class="w24"><dd class="isin">
          <input name="Mobile" type="text" class="bor int" id="Mobile" size="30" value=''></dd></li>
        <!--line--> 
        
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 电子邮箱</dd></li>
        <li class="w23"><dd class="isin">
          <input name="cemail" type="text" class="bor int" id="cemail" size="30" onKeyUp="searchSuggest();" value=''>
          <span id="ss_suggest" style="display:none;"></span></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 网址</dd></li>
        <li class="w23"><dd class="isin">
          <input name="chomepage" type="text" class="bor int" id="chomepage" size="30" value=''></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 所属行业</dd></li>
        <li class="w24"><dd class="isin">
        <select name="changye" id="select_hangye"><option value="">请选择</option><option value="互联网/IT">互联网/IT</option><option value="金融">金融</option></select>
          </dd></li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 录入时间</dd></li>
        <li class="w23"><dd class="isin">
          <input name="TimeBegin" type="text" maxlength="10" id="TimeBegin" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
          ~
          <input name="TimeEnd" type="text" maxlength="10" id="TimeEnd" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
        </dd></li>
        <li class="w10 bg tr"><dd class="isin"> 最后更新</dd></li>
        <li class="w23"><dd class="isin">
          <input name="ETimeBegin" type="text" maxlength="10" id="ETimeBegin" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
          ~
          <input name="ETimeEnd" type="text" maxlength="10" id="ETimeEnd" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
        </dd></li>
        <li class="w10 bg tr"><dd class="isin"> 所在地区</dd></li>
        <li class="w24"><dd class="isin">
   
          <select name="Area" onChange="getArea(this.options[this.selectedIndex].id);">
            <option value="">请选择</option>
            
            <option value="默认省" id="1">默认省</option>
            
            <option value="北京市" id="3">北京市</option>
            
            <option value="天津市" id="22">天津市</option>
            
            <option value="上海市" id="41">上海市</option>
            
            <option value="重庆市" id="61">重庆市</option>
            
            <option value="河北" id="102">河北</option>
            
            <option value="山西" id="114">山西</option>
            
            <option value="内蒙古" id="126">内蒙古</option>
            
            <option value="辽宁" id="139">辽宁</option>
            
            <option value="吉林" id="154">吉林</option>
            
            <option value="黑龙江" id="164">黑龙江</option>
            
            <option value="江苏" id="178">江苏</option>
            
            <option value="浙江" id="192">浙江</option>
            
            <option value="安徽" id="204">安徽</option>
            
            <option value="福建" id="222">福建</option>
            
            <option value="江西" id="232">江西</option>
            
            <option value="山东" id="244">山东</option>
            
            <option value="河南" id="262">河南</option>
            
            <option value="湖北" id="281">湖北</option>
            
            <option value="湖南" id="299">湖南</option>
            
            <option value="广东" id="314">广东</option>
            
            <option value="甘肃" id="336">甘肃</option>
            
            <option value="四川" id="351">四川</option>
            
            <option value="贵州" id="373">贵州</option>
            
            <option value="海南" id="380">海南</option>
            
            <option value="云南" id="399">云南</option>
            
            <option value="青海" id="416">青海</option>
            
            <option value="陕西" id="425">陕西</option>
            
            <option value="广西" id="436">广西</option>
            
            <option value="西藏" id="451">西藏</option>
            
            <option value="宁夏" id="459">宁夏</option>
            
            <option value="新疆" id="465">新疆</option>
            
            <option value="台湾" id="488">台湾</option>
            
            <option value="澳门" id="512">澳门</option>
            
            <option value="香港" id="515">香港</option>
            
            <option value="海外" id="519">海外</option>
            
          </select>
          <span id="Squarediv"  style="margin-left:10px;padding:0;">
          <select name="Squares">
            <option value="">未选择大类</option>
            
          </select>
          </span> </li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> QQ</dd></li>
        <li class="w23"><dd class="isin">
          <input name="QQ" type="text" class="bor int" id="QQ" size="30" value=''></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 详细地址</dd></li>
        <li class="w23"><dd class="isin">
          <input name="address" type="text" class="bor int" id="address" size="30" value=''></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 客户类型</dd></li>
        <li class="w24"><dd class="isin">
          <select name="Type" id="Select_Type"><option value="">请选择</option><option value="渠道部转交">渠道部转交</option><option value="企划部跟进">企划部跟进</option><option value="市场部跟进">市场部跟进</option></select></dd></li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 客户级别</dd></li>
        <li class="w23"><dd class="isin">
          <select name="Start" id="Select_Star"><option value="">请选择</option><option value="A">A</option><option value="B">B</option><option value="C">C</option><option value="D">D</option></select></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 客户来源</dd></li>
        <li class="w23"><dd class="isin">
          <select name="Source" id="Select_Source"><option value="">请选择</option><option value="电话营销">电话营销</option><option value="朋友介绍">朋友介绍</option><option value="客户介绍">客户介绍</option></select></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 商品大类</dd></li>
        <li class="w24"><dd class="isin">
          <select name="Trade" onChange="getTrade(this.options[this.selectedIndex].id);">
            <option value="">请选择</option>
            
            <option value="产品大分类" id="1">产品大分类</option>
            
          </select>
          <span id="Stradediv"  style="margin-left:10px;padding:0;">
          <select name="Strades">
            <option value="">未选择大类</option>
            
          </select>
          </span> </li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 部门 </li>
        <li class="w23"><dd class="isin"> 
          <select name='Group' id='Group' class='int'><option value="">请选择</option><option value="1">总经办</option><option value="2">财务部</option><option value="3">业务一部</option><option value="4">业务二部</option><option value="5">渠道招商部</option><option value="6">客服部</option></select></dd></li>
        <!--<li class="w10 bg tr none"><dd class="isin"> 小组 </li>
        <li class="w23 none"><dd class="isin">
          <select name='Xiaozu' id='Xiaozu' class='int'><option value="">请选择</option></select></dd></li>-->
        <li class="w10 bg tr"><dd class="isin"> 业务员</dd></li>
        <li class="w23"><dd class="isin">
          <select name='cUser' class='int'><option value="">请选择</option><option value="超级管理员">超级管理员</option><option value="测试">测试</option><option value="111">111</option><option value="啊">啊</option><option value="666">666</option><option value="596874656">596874656</option></select></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 审核中 </li>
        <li class="w24"><dd class="isin">
          <select name="SHYN" id="Select_YN"><option value="">请选择</option><option value="是">是</option><option value="否">否</option></select></dd></li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 其它 </li>
        <li class="w90">
          <script>
//显示
var funxs=function(){
	
var okon = document.getElementsByClassName('okon');
for (i = 0; i <= okon.length; i++) {
    //alert(i)
    if (okon[i].checked) {
        okon[i].parentNode.className = "selected";
    } else {
        okon[i].parentNode.className = "okonno";
    }
    okon[i].onclick = function() {
        if (this.checked) {
            this.parentNode.className = "selected";
        } else {
            this.parentNode.className = "okonno";
        }
    }
}	
	
}
</script>

          <ul class="layui-form" style="padding-left:3px;">
              <input type="checkbox" class="lay-checkbox" name="Gendan" value="1"  title="有跟单">
         
              <input type="checkbox" class="lay-checkbox" name="order" value="1"  title="有订单">
          
              <input type="checkbox" class="lay-checkbox" name="Hetong" value="1"  title="有合同">
             
              <input type="checkbox" class="lay-checkbox" name="Shouhou" value="1"  title="有售后">
              
              <input type="checkbox" class="lay-checkbox" name="File" value="1"  title="有附件">
                
          </ul>
          
        </li>
        
        <!--line-->
        
        <li class="ss"><dd class="isin">
          <input type="submit" name="Submit" id="ss_button" class="btn2 btnsous" value="立即搜索">
          <input type="button" class="btn2 btnguanb" value="清空条件" onClick=window.location.href="?saction=ksn&LaiLu=" /></dd></li>
          <div class="clear"></div>
      </ul>
    </div>
  </form>
</div>
<div class="searchss"><a id="zkgb"><i class='ficon fa-search'></i>展开高级搜索</a></div>
<script>
var ssid=1
ztm=getCookie("ztm"+ssid);if (ztm==1){SSZK()}else{SSGB()}
$(function(){$("#zkgb").click(function(event){ztm=getCookie("ztm"+ssid);if (ztm==1){SSGB()}else{SSZK()} })});
function SSZK(){
$(".topNavsou").css("display","none")
$(".rightNav").css("display","block")
$("#zkgb").html("<i class='ficon fa-search-minus'></i>关闭高级搜索")
setCookie("ztm"+ssid,1); }
function SSGB(){
$(".topNavsou").css("display","block")
$(".rightNav").css("display","none")
$("#zkgb").html("<i class='ficon fa-search'></i>展开高级搜索")
setCookie("ztm"+ssid,0); }
var sou_hei=$(".cssout:first").height()+45
$("#ss_suggest").css("top",sou_hei+"px")
$.each($(".cssout:first .MenuboxS ul li a"),function(i,n){
    var $href = $(this).attr("href");
    $(this).attr("href",$href+"&saction=ksn");
});
</script> 
<script>function Kehu_Infoadd(Dourl) {$.dialog.open(Dourl, {title: '新增公海客户', width: 1100, height: 520,fixed: true}); };</script>
<div class="cssout"> 
  <script type="text/javascript">
	 function getBlock(ck, d) {
		var c = document.getElementById(ck);
		var d = document.getElementById(d);
		if (c.checked == true) {
			d.style.display = "block"
		} 
		//else {d.style.display = "none"}
	}
   </script>
  <form class="layui-form" name="Search" action="gonghai.asp?action=CheckSub&saction=Search&PN=1&LaiLu=" method="post">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_1" id="list_w">
      <tr class="tr_b">
        <td nowrap="nowrap" class="td_l_c" width="50"><input name="chkall" type="checkbox" id="chkall" onClick="CheckAll(this.form);getBlock('chkall','CheckSub')" value="checkbox"></td>
        <td nowrap="nowrap" class="td_l_c" width="50">编号</td>
        
        <td nowrap="nowrap" class="td_l_l" width="180">客户名称 <span class="info_help help01" title="点击对应客户名称查看详细信息"></span></td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">客户来源</td>
        
        <td nowrap="nowrap" class="td_l_c" width="80">联系人</td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">手机号码</td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">录入时间</td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">最后更新</td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">原业务员</td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">申请人</td>
        
        <td nowrap="nowrap" class="td_l_c" width="100">管理</td>
      </tr>
      
    </table>
    <div class="nodata">抱歉,暂无相关记录!
      您可以<a class="addnow open-app" data-width="1000" data-height="520" title="新增客户" href="listkehu_add.html?action=Kehu&stype=add&LaiLu=">添加一个客户</a> </div>
    
    <div class="piliang">
      
      将选中信息批量
      <input type="submit" name="Checkexecute" id="Checkexecute" class="btn1 btnpilsh" value="通过审核">
      <input type="submit" name="Checkexecute" id="Checkexecute" class="btn1 btnjujsq" value="拒绝申请">
      
      <input type="submit" name="Checkexecute" id="Checkexecute" class="btn1 btnpilsc" value="批量转回收站">
      
      批量转移给:
      <select name='NewUser' class='int'><option value="">请选择</option><option value="超级管理员">超级管理员</option><option value="测试">测试</option><option value="111">111</option><option value="啊">啊</option><option value="666">666</option><option value="596874656">596874656</option></select>
      <input type="submit" name="Checkexecute" id="Checkexecute" class="btn1 btnzhuany" value="转移">
      
    </div>
  </form>
  <script>
var w100w=$("#list_w").width();
//var w100w=$(document).width()-22
//alert(w100w)
$(".piliang").css("width",w100w+"px")
</script> 
</div>
<div class="h50b"></div>
<div class="clear"></div>
<div class="fixed_bg"> <!--分页代码开始-->
  <div class="pagepostion"> <ul class="pagination"><li class="first disabled"><a href='javascript:void(0);'>0 条记录 0/0页</a></li><li class="next disabled"><a href='gonghai.asp?otype=&PN=1'>首页</a></li><li class="next disabled"><a href='gonghai.asp?otype=&PN=0'>尾页</a></li><script language='javascript'>function getValue(obj){if (document.getElementById("geturl").value!="") {location.href="gonghai.asp?otype=&PN="+escape(document.getElementById("geturl").value)+""}}</script><input class="pagenum" id="geturl" value="0"><li class="last"><a href='javascript:void(0);' onClick="getValue(geturl.value)">跳转</a></li></ul>
 
  </div>
  <!--分页代码结束--> 
  
</div>
<span class="set_zdy">

<a class="button_top_set" value="列显示设置" onclick='Setting_ListAll("set_level.asp?action=Setting&stype=ListZiyuanku&LaiLu=")'>列显示设置</a> 
<script>function Setting_ListAll(Dourl) {$.dialog.open(Dourl, {title: '列显示设置', width: 600, height: 360,fixed: true}); };</script>

</span> 
<script>
<!--
for(var i=0;i<document.getElementById('Area').options.length;i++){
    if(document.getElementById('Area').options[i].value == ""){
    document.getElementById('Area').options[i].selected = true;}}
for(var i=0;i<document.getElementById('Squares').options.length;i++){
    if(document.getElementById('Squares').options[i].value == ""){
    document.getElementById('Squares').options[i].selected = true;}}
-->
</script>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
